package com.qianf.wisdomOrientation.service.impl;

import com.qianf.wisdomOrientation.entity.Reply;
import com.qianf.wisdomOrientation.entity.User;
import com.qianf.wisdomOrientation.mapper.UserMapper;
import com.qianf.wisdomOrientation.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author mkHeart
 * @since 2021-07-08
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    private UserMapper mapper;
    @Override
    public List<User> findAllUser(int classid  ) {
        return mapper.findAllUser(classid);
    }

    @Override
    public User findUserById(int studentid ) {
        return mapper.findUserById(studentid);
    }

    @Override
    public User findUserTransaction(int studentid ) {
        return mapper.findUserTransaction(studentid);
    }
}
